home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.2)
-
- import os
- import pygame
- import sys
- from pygame.locals import *
- from random import random
-
- class Animator:
-
- def __init__(self):
- self.characters = { }
- self.maneuvers = { }
-
-
- def add_char(self, name, char):
- self.characters[name] = char
-
-
- def start_maneuver(self, who, which):
- maneuvers = self.maneuvers
- self.characters[who].begin_maneuver(maneuvers[which])
-
-
- def define_maneuver(self, name, maneuver):
- self.maneuvers[name] = maneuver
-
-
-